import java.util.ArrayList;
import javax.swing.*;

import java.awt.Graphics2D;
import java.awt.image.*;

public class ObjectDrawer extends JFrame 
{	
	private ArrayList<Unit> units;
	private BufferedImage background;
	private int winWidth;
	private int winHeight;
	private int locationX;
	private int locationY;
	
	/*
	The creation of the ObjectDrawer creates the screen that will be where the interactions take place. 
	*/
	
	public ObjectDrawer()
	{
		
		
	}
	private void drawBackground(BufferedImage background, Graphics2D g)
	{
		
		
	}
	
	private void drawUnits(ArrayList<Unit> globalUnits, Graphics2D g)
	{
		for (Unit u:globalUnits)	
		{
			
		}
		
		
		
	}	
	
	private void drawUI(Graphics2D g)
	{
		
	}
	
	private BufferedImage extractImage(BufferedImage i)
	{
		BufferedImage returnImage = i;
		
		
		return returnImage;
	}
	
	public void paint(Graphics2D g)
	{
		
	}
	
	public void getCoordinates(int x, int y)
	{
		locationX = x;
		locationY = y;
	}
	
	public void updateUnits(ArrayList<Unit> u)
	{
		units = u;
	}
}
